package com.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bean.Listtopics;
import com.dao.ListtopicsDao;
import com.service.ListtopicsService;
@Service
public class ListtopicsServiceImpl implements ListtopicsService{
	@Autowired
	private ListtopicsDao dao;
	public List<Listtopics> select() {
		return dao.select();
	}

	public int insert(Listtopics listtopics) {
		return dao.insert(listtopics);
	}

}
